package com.wlcorp.forcazamis.sys.util;

public final class AppConstant {
	public static final String MESSAGE = "message";
	public static final int BASE_BEAN_STATUS_ERROR = 1;
	/*样品来源类型*/
	public static final int SOURCE_TYPE_DEVELOPERCS = 1;//研发改样
	public static final int SOURCE_DEVELOPERMD = 2;//研发模仿
	public static final int SOURCE_DEVELOPEROR = 3;//研发原创
	public static final int SOURCE_BUYS = 4;//直接买样
	public static final int SOURCE_CUSTOMERS = 5;//客户来样
	public static final int SOURCE_FACTORYS = 6;//工厂来样
	public static final int SOURCE_OUTS = 7;//出货样
	public static final int SOURCE_CHANGES = 8;//改款
	/*入库类型*/
	public static final int STORAGE_IN_TYPE_DIRECT_BUY = 1;//直接买样
	public static final int STORAGE_IN_TYPE_FROM_CUSTOMER = 2;//客户来样
	public static final int STORAGE_IN_TYPE_FROM_FACTORY = 3;//工厂来样
	public static final int STORAGE_IN_TYPE_OUT_GOODS = 4;//出货样
	public static final int STORAGE_IN_TYPE_DRAW_DESIGN = 5;//打样单
	public static final int STORAGE_IN_TYPE_EXHIBIT = 6;//参展
	public static final int STORAGE_IN_TYPE_CHECK = 7;//盘点
	public static final int STORAGE_IN_TYPE_FACTORY_T = 8;//工厂淘样
	public static final int STORAGE_IN_TYPE_OTHER = 9;//其他
	/*出库类型*/
	public static final int STORAGE_OUT_TYPE_DEVELOP_MODEL = 1;//研发打样
	public static final int STORAGE_OUT_TYPE_BESTOW = 2;//赠于出库
	public static final int STORAGE_OUT_TYPE_WELFARE = 3;//福利出库
	public static final int STORAGE_OUT_TYPE_EXHIBIT = 4;//参展
	public static final int STORAGE_OUT_TYPE_CHECK = 5;//盘点
	/*各单据状态*/
	public static final int BILL_STATE_SUBMITED = 1;//编辑中
	public static final int BILL_STATE_PRE_CONFIRM = 2;//待审批
	public static final int BILL_STATE_CONFIRMED = 3;//审批完成
	public static final int BILL_STATE_DRAWBACK = 4;//已退单
	public static final int BILL_STATE_CONFIRMING = 5;//审批中
	/*调拨单状态*/
	public static final int ASSIGN_STATE_SUBMITED = 1;//编辑中
	public static final int ASSIGN_STATE_CONFIRMING = 2;//确认中
	public static final int ASSIGN_STATE_CONFIRMED = 3;//已完成
	/*审批结果*/
	public static final int CONFIRM_RESULT_PASS = 1;//通过
	public static final int CONFIRM_RESULT_NOT_PASS = 2;//未通过
	/*审批类型*/
	public static final int CONFIRM_TYPE_IN_STORAGE = 1;//入库
	public static final int CONFIRM_TYPE_OUT_STORAGE = 2;//出库
	public static final int CONFIRM_TYPE_ASSIGN_STORAGE = 3;//调拨
	public static final int CONFIRM_TYPE_PI = 4;//PI
	public static final int CONFIRM_TYPE_STOCK = 5;//采购合同
	/*审批状态*/
	public static final int CONFIRM_STATE_NEW = 1;//新建
	public static final int CONFIRM_STATE_CONFIRMING = 2;//审批中
	public static final int CONFIRM_STATE_CONFIRMED = 3;//已审批
	
	/*几个固定仓库的默认ID*/
	public static final Long DEPOT_ID_SAMPLE = 1l;//样品部ID
	/*删除标记*/
	public static final int RECORD_DELETED = 1;//已删除
	public static final int RECORD_UNDELETED = 0;//未删除
	/*性别*/
	public static final int GENDER_MALE = 1;//男
	public static final int GENDER_FEMALE = 2;//女
	/*员工状态*/
	public static final int STAFF_STATE_INACTIVE = 1;//在职
	public static final int STAFF_STATE_NOT_INACTIVE = 2;//不在职
	/*系统管理员工号*/
	public static final String ADMINISTRATOR_STAFF_CODE = "admin";
	/*仓库是否有效*/
	public static final int DEPOT_INACTIVE = 1;//有效
	public static final int DEPOT_NOT_INACTIVE = 0;//无效
	/*价格条款选项*/
	public static final int PRICE_ITEM_TYPE_FOB_SHANGHAI = 1;
	public static final int PRICE_ITEM_TYPE_FOB_NINGBO = 2;
	public static final int PRICE_ITEM_TYPE_CIF = 3;
	public static final int PRICE_ITEM_TYPE_OTHER = 4;
	/*排列显示*/
	public static final int ORDER_DIS_BY_SAMPLE = 1;
	public static final int ORDER_DIS_NOT_BY_SAMPLE = 2;
	/*运输方式*/
	public static final int TRANSPORT_TYPE_BY_SEA = 1;
	public static final int TRANSPORT_TYPE_BY_AIR = 2;
	public static final int TRANSPORT_TYPE_TBD = 3;
	public static final int TRANSPORT_TYPE_WAITING_FOR_YOUR_INF = 4;
	public static final int TRANSPORT_TYPE_OTHER = 5;
	/*合同币种*/
	public static final int COIN_TYPE_USD = 1;//美金
	public static final int COIN_TYPE_RMB = 2;//人民币
	public static final int COIN_TYPE_EUR = 3;//欧元
	/*是否翻单*/
	public static final int PI_PRODUCT_IS_NEW = 0;//否
	public static final int PI_PRODUCT_IS_OLD = 1;//是
	/*特殊部门标记*/
	public static final int DEPART_FLAG_BUSINESS = 1;//业务部
	public static final int DEPART_FLAG_FINANCE = 2;//财务部
	
	/*订单类型*/
	public static final String STOCK_ORDER_SPECIAL = "T";//特级订单
	public static final String STOCK_ORDER_URGENCY = "AA";//非常紧急
	public static final String STOCK_ORDER_GENERAL = "A";//一般紧急
	public static final String STOCK_ORDER_NORMAL = "B";//正常生产
	public static final String STOCK_ORDER_LONG = "C";//较长生产
	public static final String STOCK_ORDER_OVER = "D";//超长生产
	
	/*镜架类型*/
	public static final int STOCK_PRODUCT_FRAME_METAL = 0;//金属架
	public static final int STOCK_PRODUCT_FRAME_BOARD = 1;//板材架
	
	/*新单,翻单*/
	public static final int STOCK_NEW = 0;//新单
	public static final int STOCK_OLD = 1;//翻单
	public static final int STOCK_BOTH = 2;//新单+翻单
	
	/*采购合同商品特别说明*/
	public static final String STOCK_PRODUCT_NEW_FITTING = "F";//该款有新配件，请注意
	public static final String STOCK_PRODUCT_NEW_COLOR = "C";//该款有新颜色，请注意
	public static final String STOCK_PRODUCT_NEW_STRUCTURE = "S";
	
	/*账户类型*/
	public static final String CARD_USD = "USD";//美元账户
	public static final String CARD_EUR = "EUR";//欧元账户
	public static final String CARD_RMB = "RMB";//人民币账户
	
	/*账户信息*/
	public static final String CARD_USD_INFO =
			"<font style='font-weight:bold'>BANK INFORMATION:</font><BR>"+
			"<font style='font-weight:bold'>BENEFICIARY:</font>  SHANGHAI FORCAZA GLASSES CO.,LTD<BR>"+
		    "<font style='font-weight:bold'>BENEFICIARY'S BANK:</font>  AGRICULTURAL BANK OF CHINA SHANGHAI BRANCH<BR>"+
		    "<font style='font-weight:bold'>BENEFICIARY'S ACCOUNT:</font> "+"09-124414040000519"+"<BR>"+
		    "<font style='font-weight:bold'>SWIFT:</B> ABOCCNBJ"; //美元账户
	public static final String CARD_EUR_INFO = 
			"<font style='font-weight:bold'>BANK INFORMATION:</font><BR>"+
			"<font style='font-weight:bold'>BENEFICIARY:</font>  SHANGHAI FORCAZA GLASSES CO.,LTD<BR>"+
		    "<font style='font-weight:bold'>BENEFICIARY'S BANK:</font>  AGRICULTURAL BANK OF CHINA SHANGHAI BRANCH<BR>"+
		    "<font style='font-weight:bold'>BENEFICIARY'S ACCOUNT:</font> "+"09-124438040000039"+"<BR>"+
		    "<font style='font-weight:bold'>SWIFT:</font> ABOCCNBJ";//欧元账户
	public static final String CARD_RMB_INFO = "NO RMB ACCOUNT";//人民币账户
	
	/*账户信息*/
	public static final String CARD_USD_INFO_EXPORT =
			"BANK INFORMATION: \n"+
			"BENEFICIARY: SHANGHAI FORCAZA GLASSES CO.,LTD\n"+
		    "BENEFICIARY'S BANK: AGRICULTURAL BANK OF CHINA SHANGHAI BRANCH\n"+
		    "BENEFICIARY'S ACCOUNT: 09-124414040000519\n"+
		    "SWIFT: ABOCCNBJ"; //美元账户
	public static final String CARD_EUR_INFO_EXPORT = 
			"BANK INFORMATION: \n"+
			"BENEFICIARY: SHANGHAI FORCAZA GLASSES CO.,LTD\n"+
			"BENEFICIARY'S BANK: AGRICULTURAL BANK OF CHINA SHANGHAI BRANCH\n"+
			"BENEFICIARY'S ACCOUNT: 09-124438040000039\n"+
			"SWIFT: ABOCCNBJ"; //欧元账户
	public static final String CARD_RMB_INFO_EXPORT = "NO RMB ACCOUNT";//人民币账户
	
}